Automattic\WooCommerce\Blocks\Assets\AssetDataRegistry S

Total Complexity 47
Dependencies 5
Dependents 8
Total lines 435
Lines of code 210
Logical lines of code 78
Comment lines 183
Methods 21
Properties 5

Methods 21

Method Rating Maintainability Complexity Lines of code
add_data()
S
55 6 22
format_page_resource()
S
57 5 17
add()
S
61 5 13
enqueue_asset_data()
S
56 3 18
get_core_data()
S
52 2 22
get_store_pages()
S
57 2 17
register_page_id()
S
70 3 6
initialize_core_data()
S
60 2 14
hydrate_data_from_api_request()
S
61 2 13
debug()
S
79 2 3
hydrate_api_request()
S
72 2 5
execute_lazy_data()
S
72 2 5
init()
S
74 2 4
get_order_statuses()
S
66 2 8
get_currency_data()
S
61 1 12
exists()
S
79 1 3
get()
S
82 1 3
get_products_settings()
S
73 1 5
register_data_script()
S
69 1 8
get_locale_data()
S
67 1 8
__construct()
S
77 1 4